
#include "PlatformProperty.h"

TRANSMIT_READ_PROPERTY(DiagcExtCom,YesNo2) {
    builder.area(VehicleArea::GLOBAL)
        .initValue([](){
                return YesNo2(-1);
        })
        .immutableStatus(PropertyStatus::Active)
        .withValueBySignals([]([[maybe_unused]]const YesNo2& last){

                auto signal=SIGNAL.getDiagcExtCom();
                return YesNo2((int32_t)signal);

        },ecarx::transfer::SignalRX::DiagcExtCom);
}
